<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Like
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: index.tpl 2010-09-07 17:53 idris $
 * @author     Idris
 */
?>


<h3>
  <?php echo $this->translate("like_Like Club"); ?> <span>(<?php echo (int)$this->likes->getTotalItemCount(); ?>)</span>
	<?php if ($this->likes->getTotalItemCount() > $this->likes->getCurrentItemCount()): ?>
	<a href="javascript:like.see_all('<?php echo $this->subject->getType(); ?>', <?php echo $this->subject->getIdentity(); ?>);"><?php echo $this->translate("like_See All"); ?></a>
	<?php endif; ?>
</h3>

<div class="clr"></div>
<div class="list">
	<?php foreach ($this->likes as $like): ?>
		<div class="item">
			<?php echo $this->htmlLink($like->getHref(), $this->itemPhoto($like, 'thumb.icon'), array('class' => 'like_profile_thumb')); ?>
			<?php echo $this->htmlLink($like->getHref(), $like->getTitle(), array('class' => 'like_profile_title')); // @todo here pay attention ?>
		</div>
	<?php endforeach; ?>
	<div class="clr"></div>
</div>

<div class="clr" style="margin-bottom:10px;"></div>